from moviepy.editor import *
from animation.editor import *

'''
3.	视频裁剪
'''
if __name__ == '__main__':
    output_file_path = '../results/example03.mp4'
    hzwVideoClip = VideoFileClip('../videos/hzw_part.mp4')
    finalClip = hzwVideoClip.crop(x1=200, y1=100, x2=600, y2=600)
    finalClip.write_videofile(output_file_path, fps=25, codec="libx264", audio_codec="aac")
